package EnumPratice;

public enum Light {
    RED("red"),GREEN("green"),BLUE("blue");
	
	private String name;
	
	private Light(String name) {
		this.name = name;
	}
	
	private String getname() {
		return this.name; 
	}
	
}
